package com.service.serviceImpl;

import com.mapper.PlaceMapper;
import com.service.IPlaceService;
import com.service.IUserService;
import com.vo.placeVo.PlaceListRequestVo;
import com.vo.placeVo.PlaceListResponseVo;
import org.mybatis.logging.Logger;
import org.mybatis.logging.LoggerFactory;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author hl
 * @Date
 * @Describe 地址相关功能实现
 */
@Service
public class PlaceServiceImpl implements IPlaceService {

    Logger logger = LoggerFactory.getLogger(IPlaceService.class);

    @Resource
    PlaceMapper placeMapper;

    /**
     * 获取地址列表
     * @param vo
     * @return
     */
    @Override
    public List<PlaceListResponseVo> getPlaceList(PlaceListRequestVo vo) {
        return placeMapper.getPlaceList(vo);
    }
}
